﻿//
// MovementEventArgs.cs
//
// Authors:
//    Claus Jørgensen <10229@iha.dk>
//    Jens Bloch Christensen <09584@iha.dk>
//    Jonas Daugaard Møller <08814@iha.dk>
//
using System;

namespace NIP.ControllerInterface
{
    /// <summary>
    /// Provides data for the <see cref="E:USBC.MotionStarted"/> 
    /// and <see cref="E:USBC.MotionEnded"/> events.
    /// </summary>
    public class MotionEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:MotionEventArgs"/> class
        /// </summary>
        /// <param name="axis">Axis in motion.</param>
        public MotionEventArgs(Axis axis)
        {
            this.Axis = axis;
        }

        /// <summary>
        /// Gets the axis in motion.
        /// </summary>
        public Axis Axis
        {
            get;
            private set;
        }
    }
}
